﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@section TitleContent
{
    @if (!IsSectionDefined("TitleContent"))
    {
        if (Model != null)
        {@Model.Page.SeoTitle}
    }
    else
    {
        @RenderSection("TitleContent")
    }
}

@section HeadContent
{
   

    @if (!IsSectionDefined("HeadContent"))
    {
        <meta name="keywords" content="@Model.Page.MetaKeywords" />
        <meta name="description" content="@Model.Page.MetaDescription" />
    }
    else
    {
        @RenderSection("HeadContent")
    }

    <meta charset="UTF-8" />
    <meta name="google-site-verification" content="QpwY_5P4SwfDPeGqDeJhlzrmf5dJOAIiimSp5-fTslM" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="cleversoftware.by">

    <link rel="stylesheet" href="@Url.Content("~/skins/zottor/content/bootstrap/css/bootstrap.min.css")" rel="stylesheet" />
    <link rel="stylesheet" href="@Url.Content("~/skins/zottor/content/bootstrap/css/bootstrap-responsive.min.css")" rel="stylesheet" />
    <link rel="stylesheet" href="@Url.Content("~/skins/zottor/content/bootstrap/css/bootstrap-fileupload.css")" rel="stylesheet" />
    
    <link rel="stylesheet" href="@Url.Content("~/skins/zottor/content/font-awesome/css/font-awesome.css")" rel="stylesheet" />
    
    <link rel="stylesheet" href="@Url.Content("~/skins/zottor/content/style.css")" rel="stylesheet" />
    <link rel="stylesheet" href="@Url.Content("~/skins/zottor/content/style-responsive.css")" rel="stylesheet" />
    <link rel="stylesheet" href="@Url.Content("~/skins/zottor/content/style-default.css")" rel="stylesheet" id="style_color" />

    @if (WebSecurity.IsAuthenticated)
    {
        <script type="text/javascript" src="@Url.Content("~/Areas/CleverCms.Admin/Scripts/ckeditor/ckeditor.js")"></script>
    }
}

@{Html.RenderPartial("_HeaderControl");}

<div id="container" class="row-fluid">

    <div class="sidebar-scroll">
        <div id="sidebar" class="nav-collapse collapse">
            <div class="navbar-inverse">
                <form class="navbar-search visible-phone">
                    <input type="text" class="search-query" placeholder="Search" />
                </form>
            </div>
        </div>
    </div>

    <div id="main-content">
        <div class="container-fluid">
            
            <div class="row-fluid">
                <div class="span12">
                    @{Html.RenderAction("CreateMenuItems", "Navigation");}
                    @{Html.RenderPartial("_BreadCrumbControl");}
                </div>
            </div>

            <div class="row-fluid">
                <div class="span12">
                    
                    @Html.Action("FreeHtml", "Tools", new { htmlKey = "Main_Top" })

                    @if (IsSectionDefined("PageContent"))
                    {
                        @RenderSection("PageContent")
                    }

                    @RenderBody()

                </div>
            </div>
        </div>
    </div>
</div>

@{Html.RenderPartial("_FooterControl");}

<script type="text/javascript" src="@Url.Content("~/skins/zottor/scripts/jquery.nicescroll.js")"></script>
<script type="text/javascript" src="@Url.Content("~/skins/zottor/content/bootstrap/js/bootstrap.min.js")"></script>
<script type="text/javascript" src="@Url.Content("~/skins/zottor/scripts/Cms/common-scripts.js")"></script>

@if (IsSectionDefined("Bottom"))
{
    @RenderSection("Bottom")
}

@Html.Action("FreeHtml", "Tools", new { htmlKey = "Google_Code" })
@Html.Action("FreeHtml", "Tools", new { htmlKey = "Yandex_Code" })